package com.fingard.dsp.bank.reqrespobj.billpool;

import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RequestBase;
import com.fingard.xml.XmlTextReader;

/*申请出票
* */
public class ReqB309BillApply extends RequestBase{
//    指令代码
    public String 	CommandCode	;
//    票据类型
    public String 	BillType	;
//    到期时间
    public String 	DueDate	;
//    票据金额
    public String 	BillAmount	;
//    转让标志
    public String 	TransmitFlag	;
//    出票人姓名
    public String 	OutName	;
//    出票人帐号
    public String 	OutAccountNum	;
//    出票人银行名称
    public String 	OutBankName	;
//    出票人银行代码
    public String 	OutCNASPCode	;
//    承兑人姓名
    public String 	InName	;
//    承兑人帐号
    public String 	InAccount	;
//    承兑人银行名称
    public String 	InBankName	;
//    承兑人银行代码
    public String 	InCNASPCode	;
//    收款人姓名
    public String 	ReceiverName	;
//  收款人帐号
    public String 	ReceiverAccountNum	;
//    收款人银行名称
    public String 	ReceiverBankName	;
//    收款人银行代码
    public String 	ReceiverCNASPCode	;
//    备注
    public String 	Remark	;
//    是否自动提示收票
    public String 	AutoNotice	;
//    合同号
    public String 	ContractReqNum	;
//    CIF代码
    public String  CIFCode;
    private XmlTextReader xmlReader;

    public ReqB309BillApply(XmlTextReader p_xmlReader, ReqRespHeader p_header) throws Exception {
        reqHeader = p_header;
        xmlReader = p_xmlReader;

        CommandCode=xmlReader.getSimpleText("CommandCode");
        BillType=xmlReader.getSimpleText("BillType");
        DueDate=xmlReader.getSimpleText("DueDate");
        BillAmount=xmlReader.getSimpleText("BillAmount");
        TransmitFlag=xmlReader.getSimpleText("TransmitFlag");
        OutName=xmlReader.getSimpleText("OutName");
        OutAccountNum=xmlReader.getSimpleText("OutAccountNum");
        OutBankName=xmlReader.getSimpleText("OutBankName");
        OutCNASPCode=xmlReader.getSimpleText("OutCNASPCode");
        InName=xmlReader.getSimpleText("InName");
        InAccount=xmlReader.getSimpleText("InAccount");
        InBankName=xmlReader.getSimpleText("InBankName");
        InCNASPCode=xmlReader.getSimpleText("InCNASPCode");
        ReceiverName=xmlReader.getSimpleText("ReceiverName");
        ReceiverAccountNum=xmlReader.getSimpleText("ReceiverAccountNum");
        ReceiverBankName=xmlReader.getSimpleText("ReceiverBankName");
        ReceiverCNASPCode=xmlReader.getSimpleText("ReceiverCNASPCode");
        Remark=xmlReader.getSimpleText("Remark");
        AutoNotice=xmlReader.getSimpleText("AutoNotice");
        ContractReqNum=xmlReader.getSimpleText("ContractReqNum");
        CIFCode = xmlReader.getSimpleText("CIFCode");
    }

}
